<if condition="isset($aname) && $aname neq 'alltag'">
    <aside class="panel panel-default">
        <div class="panel-heading"><span class="icon-tags"></span> 热门标签<span style="font-size:12px;" class="pull-right"><a href="{:url('Index/alltag')}">更多标签</a></span></div>
        <div class="panel-body">
            <cms:flashtag return="flashtag" items="50" width="366">
                {$flashtag.html}
            </cms:flashtag>
        </div>
    </aside>
</if>
<aside class="panel-group">
    <div class="panel panel-info">
        <div class="panel-heading toggle" data-toggle="collapse" data-parent="#accordion-dmengrank-2" href="#comment-dmengrank-2">
            <span class="icon-volume-up"></span> 最多人评论的5篇内容
        </div>
        <div id="comment-dmengrank-2" class="panel-collapse collapse ">
            <cms:articles orderby="commentnum desc" items="5" return="hot">
                <if condition="$hot['data']">
                <ul class="list-group">
                    <volist name="hot['data']" id="item" key="k">
                    <li class="list-group-item">
                        <a href="{:url('Article/view',array('aid'=>$item['aid']))}" title="{$item.title}">
                            {$item.title|msubstr=###,0,20}
                        </a>
                    </li>
                    </volist>
                </ul>
                </if>
            </cms:articles>
        </div>
    </div>
    <div class="panel panel-warning">
        <div class="panel-heading toggle" data-toggle="collapse" data-parent="#accordion-dmengrank-2" href="#vote-dmengrank-2">
            <span class="icon-thumbs-up"></span> 按投票率排行的5篇内容
        </div>
        <div id="vote-dmengrank-2" class="panel-collapse collapse ">
            <cms:articles orderby="ding desc" items="5" return="hot">
                <if condition="$hot['data']">
                <ul class="list-group">
                    <volist name="hot['data']" id="item" key="k">
                    <li class="list-group-item">
                        <a href="{:url('Article/view',array('aid'=>$item['aid']))}" title="{$item.title}">
                            {$item.title|msubstr=###,0,20}
                        </a>
                    </li>
                    </volist>
                </ul>
                </if>
            </cms:articles>
        </div>
    </div>
    <div class="panel panel-danger">
        <div class="panel-heading toggle" data-toggle="collapse" data-parent="#accordion-dmengrank-2" href="#view-dmengrank-2">
            <span class="icon-eye-open"></span> 按浏览次数排行的5篇内容
        </div>
        <div id="view-dmengrank-2" class="panel-collapse collapse in">
            <cms:articles orderby="viewnum desc" items="5" return="hot">
                <if condition="$hot['data']">
                <ul class="list-group">
                    <volist name="hot['data']" id="item" key="k">
                    <li class="list-group-item">
                        <a href="{:url('Article/view',array('aid'=>$item['aid']))}" title="{$item.title}">
                            {$item.title|msubstr=###,0,20}
                        </a>
                    </li>
                    </volist>
                </ul>
                </if>
            </cms:articles>
        </div>
    </div>
</aside>
{:hook('Advs', 'below_sidebar')}